package com.th.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.th.mapper.GoodsMapper;
import com.th.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements GoodsService {

    @Autowired
    GoodsMapper goodsMapper;

    @Override
    public Integer selectSumStock() {
        return goodsMapper.selectSumStock();
    }
}
